<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="../css/layui.css" />
		<script src="../layui.js"></script>
	</head>
	<body>



		<script>
			layui.config({
				base: "../layuiDomain/"
			})
			layui.use(['test'], function() {
				var myobj = layui.test;
				// alert(myobj.name);
				console.log(myobj.name);
			})
		</script>
	</body>
</html>
